package com.example.springboot3005web.controller;


import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import java.time.LocalDateTime;

@Controller
public class Quick {

    @RequestMapping("/exam/quick")
    public String quick(Model model) {

        //业务处理结果数据，放入到Model模型
        model.addAttribute("title", "Web开发");
        model.addAttribute("time", LocalDateTime.now());
        return "quick";
    }

}
